package cn.trda.pojo;

import java.util.Date;
import java.util.List;

public class Customs {
    private Long id;

    private Long agentid;

    private String agentname;

    private String customname;

    private Integer customtype;

    private String customtypename;

    private String siteurl;

    private Integer customstatus;

    private String bossname;

    private Integer cardtype;

    private String cardtypename;

    private String cardnum;

    private String companytel;

    private String companyfax;

    private Date regdatetime;

    private String country;

    private String province;

    private String city;

    private String area;

    private String companyaddress;

    private String agentcode;

    private String memo;
    
    private List<Contacts> contactList;

	public List<Contacts> getContactList() {
		return contactList;
	}

	public void setContactList(List<Contacts> contactList) {
		this.contactList = contactList;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAgentid() {
        return agentid;
    }

    public void setAgentid(Long agentid) {
        this.agentid = agentid;
    }

    public String getAgentname() {
        return agentname;
    }

    public void setAgentname(String agentname) {
        this.agentname = agentname == null ? null : agentname.trim();
    }

    public String getCustomname() {
        return customname;
    }

    public void setCustomname(String customname) {
        this.customname = customname == null ? null : customname.trim();
    }

    public Integer getCustomtype() {
        return customtype;
    }

    public void setCustomtype(Integer customtype) {
        this.customtype = customtype;
    }

    public String getCustomtypename() {
        return customtypename;
    }

    public void setCustomtypename(String customtypename) {
        this.customtypename = customtypename == null ? null : customtypename.trim();
    }

    public String getSiteurl() {
        return siteurl;
    }

    public void setSiteurl(String siteurl) {
        this.siteurl = siteurl == null ? null : siteurl.trim();
    }

    public Integer getCustomstatus() {
        return customstatus;
    }

    public void setCustomstatus(Integer customstatus) {
        this.customstatus = customstatus;
    }

    public String getBossname() {
        return bossname;
    }

    public void setBossname(String bossname) {
        this.bossname = bossname == null ? null : bossname.trim();
    }

    public Integer getCardtype() {
        return cardtype;
    }

    public void setCardtype(Integer cardtype) {
        this.cardtype = cardtype;
    }

    public String getCardtypename() {
        return cardtypename;
    }

    public void setCardtypename(String cardtypename) {
        this.cardtypename = cardtypename == null ? null : cardtypename.trim();
    }

    public String getCardnum() {
        return cardnum;
    }

    public void setCardnum(String cardnum) {
        this.cardnum = cardnum == null ? null : cardnum.trim();
    }

    public String getCompanytel() {
        return companytel;
    }

    public void setCompanytel(String companytel) {
        this.companytel = companytel == null ? null : companytel.trim();
    }

    public String getCompanyfax() {
        return companyfax;
    }

    public void setCompanyfax(String companyfax) {
        this.companyfax = companyfax == null ? null : companyfax.trim();
    }

    public Date getRegdatetime() {
        return regdatetime;
    }

    public void setRegdatetime(Date regdatetime) {
        this.regdatetime = regdatetime;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country == null ? null : country.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public String getCompanyaddress() {
        return companyaddress;
    }

    public void setCompanyaddress(String companyaddress) {
        this.companyaddress = companyaddress == null ? null : companyaddress.trim();
    }

    public String getAgentcode() {
        return agentcode;
    }

    public void setAgentcode(String agentcode) {
        this.agentcode = agentcode == null ? null : agentcode.trim();
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }

	@Override
	public String toString() {
		return "Customs [id=" + id + ", agentid=" + agentid + ", agentname="
				+ agentname + ", customname=" + customname + ", customtype="
				+ customtype + ", customtypename=" + customtypename
				+ ", siteurl=" + siteurl + ", customstatus=" + customstatus
				+ ", bossname=" + bossname + ", cardtype=" + cardtype
				+ ", cardtypename=" + cardtypename + ", cardnum=" + cardnum
				+ ", companytel=" + companytel + ", companyfax=" + companyfax
				+ ", regdatetime=" + regdatetime + ", country=" + country
				+ ", province=" + province + ", city=" + city + ", area="
				+ area + ", companyaddress=" + companyaddress + ", agentcode="
				+ agentcode + ", memo=" + memo + ", contactList=" + contactList
				+ "]";
	}
}